// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  //全屏有top间距
  // margin-top: calc(2vh) !important;
  z-index: 99999 !important;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

//消息样式
.el-message{
  &--warning{
    background-color: #fff5ed;
    border-color: #f1924e;
    .el-message__content{
      color: #ff6b00;
    }
  }
  &--success{
    background-color: #f0faf2;
    border-color: #6dd993;
    .el-message__content{
      color: #15be50;
    }
  }
  &--error{
    background-color: #ffebeb;
    border-color: #fc5c5c;
    .el-message__content{
      color: #d40000;
    }
  }
}

//按钮样式(type=primary)
.el-button{
  &--primary{
    background-color: #1492ff;
    border-color:#1492ff;
    &:hover{
      background-color: #2690f3;
      border-color:#2690f3;
    }
    &:active{
      background-color: #006acd;
      border-color:#006acd;
    }
  }
}